package com.orange.common.binding

import androidx.databinding.BindingAdapter
import com.hjq.bar.TitleBar

object TitleBarAdapter {

    /**
     * 设置标题
     */
    @JvmStatic
    @BindingAdapter("title")
    fun title(titleBar: TitleBar, title: String) {
        titleBar.title = title
    }

}